/*
package com.coolweather.android;

import java.util.List;

import android.annotation.SuppressLint;
import android.content.Context;
import android.text.TextPaint;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;

import com.longtop.changzhoupark.R;
import com.longtop.entity.AttractionsDetailedInfoBean;

public class DetailedMapAdapter extends BaseAdapter {
	private Context context; // ����������
	private List<AttractionsDetailedInfoBean> mMoreDiscoveryPlantBeans; // ��Ϣ����
	private LayoutInflater listContainer; // ��ͼ����
	String tag;

	class ListItemView {
		private TextView mTitle, mCountent;

	}

	public DetailedMapAdapter(Context context,
			List<AttractionsDetailedInfoBean> mAttractionsDetailedInfo) {
		this.context = context;
		listContainer = LayoutInflater.from(context); // ������ͼ����������������
		this.mMoreDiscoveryPlantBeans = mAttractionsDetailedInfo;
	}


	@Override
	public int getCount() {
		// ListView�ĸ���
		return mMoreDiscoveryPlantBeans.size();
	}

	@Override
	public Object getItem(int arg0) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public long getItemId(int arg0) {
		// TODO Auto-generated method stub
		return 0;
	}

	@SuppressLint("NewApi")
	@Override
	public View getView(final int position, View convertView, ViewGroup parent) {
		ListItemView listItemView = null;
		// �Զ�����ͼ
		if (convertView == null) {

			listItemView = new ListItemView();
			convertView = listContainer.inflate(
					R.layout.discoveryplant_item_more, null);
			listItemView.mTitle = (TextView) convertView
					.findViewById(R.id.plantTitle);
			listItemView.mCountent = (TextView) convertView
					.findViewById(R.id.plantCountent);
			convertView.setTag(listItemView);
		} else {
			listItemView = (ListItemView) convertView.getTag();
		}

		// ��������
		listItemView.mTitle.setVisibility(View.GONE);
		listItemView.mCountent.setVisibility(View.GONE);

		AttractionsDetailedInfoBean pp = (AttractionsDetailedInfoBean) mMoreDiscoveryPlantBeans
				.get(position);
		if (pp.getShowType().equals("0")) {
			listItemView.mTitle.setVisibility(View.VISIBLE);
			listItemView.mTitle.setText(pp.getShowContent());
			TextPaint tp = listItemView.mTitle.getPaint();
			tp.setFakeBoldText(true);
		}
		if (pp.getShowType().equals("1")) {
			listItemView.mCountent.setVisibility(View.VISIBLE);
			listItemView.mCountent.setText("        " + pp.getShowContent());
		}
		return convertView;
	}

}
*/
